package com.origin.utils;

import android.view.Gravity;
import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class AnnotationList {
    public static final int LENGTH_SHORT = 0;

    public static final int LENGTH_LONG = 1;

    @IntDef(value = {
            LENGTH_SHORT,
            LENGTH_LONG
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface Duration {
    }

    @IntDef(value = {
            Gravity.CENTER,
            Gravity.TOP
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface ToastUtilsLocation {
    }

}
